import { computed } from 'vue'
import { useStore } from 'vuex'

export function useCount() {
  const { state, commit } = useStore()
  const increment = () => commit('increment')
  return {
    increment
  }
}
